QueryDefinition.RenderQueryRowCells Method

Given a DataRow from a DataTable returned from a LearningStore query created by CreateQuery, this method returns one RenderedCell for each column in the Columns collection.

Parent Type: QueryDefinition

Namespace: Microsoft.SharePointLearningKit

Assembly: Microsoft.SharePointLearningKit.dll

Syntax
C#

public RenderedCell[] RenderQueryRowCells (
DataRow dataRow,
int[,] columnMap,
SPWebResolver spWebResolver

)

Parameters

dataRow

A DataRow from a DataTable returned from a LearningStore query created by CreateQuery.

columnMap

The columnMap returned from QueryDefinition.CreateQuery.

spWebResolver

A delegate for resolving columns with ColumnDefinition.RenderAs equal to ColumnRenderAs.SPWebName May be null.

Return Value

An array of Columns.Count RenderedCell values, each containing the rendered text of the corresponding "<Column>" child element of this "<Query<" element. For a column using ColumnRenderAs.SPWebName, the corresponding element of the array will be of type WebNameRenderedCell.